﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Product
{
    public partial class formProduct : Form
    {
        public formProduct(frmContainer parent)
        {
            InitializeComponent();

            InitializeComponent();
            MdiParent = parent;
        }

        private void Product_Load(object sender, EventArgs e)
        {

        }

        private void Product_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmContainer parent = (frmContainer)MdiParent;

            parent.childProduct = null;
        }
    }
}
